remove skip auth from api and check user modified

This commit is contained in:
Yan
2018-04-09 09:58:22 +06:30
parent 1811e53dd1
commit cb3f9c4cd7
7 changed files with 17 additions and 14 deletions

View File

@@ -9,7 +9,7 @@ module TokenVerification
protected
# Authenticate the user with token based authentication
def authenticate
def authenticate
authenticate_token || render_unauthorized
end