change base url settings

This commit is contained in:
phyusin
2018-04-23 14:41:07 +06:30
parent 8806027793
commit b92889fb23
3 changed files with 18 additions and 2 deletions

View File

@@ -24,7 +24,8 @@ module TokenVerification
end
end
@user = Employee.authenticate_by_token(token)
@user = Employee.
(token)
if @user
return true
#Maybe log - login?