You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use authSession.getAuthNote("code") as the condition and only sends out SMS when it is null. It is able to not send out SMS on refresh because the AuthNote is already there. However, I have a re-send button that is no longer working which is using a URL of url.loginUrl. Using AuthNote as a condition seems to be not a smart way because it does not allow me to use url.loginUrl to re-send SMS manually.
Is there any simple way to achieve user from spamming refresh and giving user a way to re-send the SMS manually?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I tried to use authSession.getAuthNote("code") as the condition and only sends out SMS when it is null. It is able to not send out SMS on refresh because the AuthNote is already there. However, I have a re-send button that is no longer working which is using a URL of url.loginUrl. Using AuthNote as a condition seems to be not a smart way because it does not allow me to use url.loginUrl to re-send SMS manually.
Is there any simple way to achieve user from spamming refresh and giving user a way to re-send the SMS manually?
Beta Was this translation helpful? Give feedback.
All reactions