mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 08:14:47 -07:00
connect reset password to login view (#4489)
This commit is contained in:
parent
811ee54c76
commit
1f15445c69
31 changed files with 893 additions and 445 deletions
|
|
@ -85,6 +85,26 @@ export class SessionPersistence {
|
|||
console.log('Account activation failed, show an action here');
|
||||
}
|
||||
|
||||
static registrationRequiresEmail() {
|
||||
ServerDispatch.registrationRequiresEmail();
|
||||
}
|
||||
|
||||
static registrationFailed(error: string) {
|
||||
ServerDispatch.registrationFailed(error);
|
||||
}
|
||||
|
||||
static registrationEmailError(error: string) {
|
||||
ServerDispatch.registrationEmailError(error);
|
||||
}
|
||||
|
||||
static registrationPasswordError(error: string) {
|
||||
ServerDispatch.registrationPasswordError(error);
|
||||
}
|
||||
|
||||
static registrationUserNameError(error: string) {
|
||||
ServerDispatch.registrationUserNameError(error);
|
||||
}
|
||||
|
||||
static resetPasswordChallenge() {
|
||||
ServerDispatch.resetPasswordChallenge();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue