Minor verbiage changes; Push to staging for early QA
parent
aa04300a4a
commit
87955b809e
|
@ -139,7 +139,7 @@ describe Api::UsersController do
|
|||
.to include(Users::ResendVerification::ALREADY_VERIFIED)
|
||||
end
|
||||
|
||||
it 'refuses to send token to a user if they are already verified' do
|
||||
it 're-sends verification email' do
|
||||
unverified = User.create!(email: Faker::Internet.email,
|
||||
password: "password123",
|
||||
password_confirmation: "password123")
|
||||
|
|
|
@ -106,7 +106,7 @@ export class API {
|
|||
get devicePath() { return `${this.baseUrl}/api/device/`; }
|
||||
/** /api/users/ */
|
||||
get usersPath() { return `${this.baseUrl}/api/users/`; }
|
||||
/** /api/users/resend_verification?id=EMAIL */
|
||||
/** /api/users/resend_verification */
|
||||
get userResendConfirmationPath() {
|
||||
return this.usersPath + "/resend_verification";
|
||||
}
|
||||
|
|
|
@ -114,9 +114,8 @@ export class FrontPage extends React.Component<{}, Partial<FrontPageState>> {
|
|||
this.setState({ showServerOpts: !this.state.showServerOpts });
|
||||
}
|
||||
|
||||
toggleForgotPassword = () => {
|
||||
this.setState({ activePanel: "forgotPassword" });
|
||||
}
|
||||
toggleForgotPassword = () => this.setState({ activePanel: "forgotPassword" });
|
||||
|
||||
|
||||
submitForgotPassword = (e: React.FormEvent<HTMLFormElement>) => {
|
||||
e.preventDefault();
|
||||
|
|
|
@ -11,7 +11,7 @@ export interface FrontPageState {
|
|||
forgotPasswordEmail?: string;
|
||||
agreeToTerms: boolean;
|
||||
activePanel:
|
||||
| "login" /** Render default login panel */
|
||||
| "forgotPassword" /** Render forgotten password pane */
|
||||
| "resendVerificationEmail" /** Render the "resend verification" panel. */;
|
||||
| "resendVerificationEmail" /** Render the "resend verification" panel. */
|
||||
| "login" /** Render default login panel */
|
||||
| "forgotPassword" /** Render forgotten password pane */;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue