This commit is contained in:
SBD
2023-12-04 17:23:27 +03:00
parent 624653f581
commit fb3cd30db4
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ function SendLoginForm(el){
data: formData,
success: function(data){
location.href = '/profile/page/dashboard/'
location.href = `/profile/page/dashboard/?mobile=${getInfoAboutUser() === 'mobile'}`

View File

@@ -15,7 +15,7 @@ function SendRegistrationForm(el){
data: formData,
success: function(data){
location.href = '/profile/page/dashboard/'
location.href = `/profile/page/dashboard/?mobile=${getInfoAboutUser() === 'mobile'}`
},
error: function (data, exception){
document.querySelector(".register").innerHTML = data.responseJSON.html