lib/openc3/utilities/authorization.rb in openc3-5.8.1 vs lib/openc3/utilities/authorization.rb in openc3-5.9.0
- old
+ new
@@ -41,10 +41,10 @@
raise AuthError.new("Scope is required") unless scope
if $openc3_authorize
raise AuthError.new("Token is required") unless token
unless OpenC3::AuthModel.verify(token, permission: permission)
- raise AuthError.new("Current role is invalid for '#{permission}' permission")
+ raise AuthError.new("Password is invalid for '#{permission}' permission")
end
end
end
def user_info(_token)