8000 doc: remind user where to custom callback after success · Issue #1 · openfunltd/passkey · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
doc: remind user where to custom callback after success #1
Open
@typingmonk

Description

@typingmonk

.done(function (res) {
if (res.success) {
alert(res.message);
window.location.href = "/";
} else {
alert('error: ' + (res.error || 'unknown error'));
//TODO Add redirect to res.next
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0