automatically log open id user in after they've registered.

This commit is contained in:
DESKTOP-T0O5CDB\DESK-555BD
2024-02-16 11:06:49 -07:00
parent f46bbe9963
commit b7158f3bf0
3 changed files with 17 additions and 2 deletions

View File

@@ -41,7 +41,7 @@
$.post('/Login/RegisterOpenIdUser', { userName: userName, token: token, emailAddress: userEmail }, function (data) {
if (data.success) {
successToast(data.message);
setTimeout(function () { window.location.href = '/Login/Index' }, 500);
setTimeout(function () { window.location.href = '/Home' }, 500);
} else {
errorToast(data.message);
}