no changes

This commit is contained in:
Yan
2018-05-03 09:29:18 +06:30
parent 32fb28660e
commit 02fe2e57cc
3 changed files with 4 additions and 5 deletions

View File

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