Created
April 10, 2017 06:16
-
-
Save cemeng/6e6ce31ec97136fad41c2f36ade8b491 to your computer and use it in GitHub Desktop.
Forgot password
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type='text/javascript'> | |
var renderForgotPasswordSuccessScreen = function(_eventObj) { | |
gigya.accounts.switchScreen({ | |
'containerID': 'forgot-password', | |
'screenSet': '<%= @channel.gigya_authentication_screenset %>', | |
'screen': 'gigya-forgot-password-success-screen' | |
}); | |
} | |
var errorMessages = { | |
there_is_no_user_with_that_username_or_email: ' ' | |
}; | |
gigya.accounts.showScreenSet({ | |
'screenSet': '<%= @channel.gigya_authentication_screenset %>', | |
'containerID': 'forgot-password', | |
'startScreen': 'gigya-forgot-password-screen', | |
'customLang': errorMessages, | |
'onError': renderForgotPasswordSuccessScreen | |
}); | |
</script> |
Author
cemeng
commented
Apr 10, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment