Commit 19a3082

mo <mo.khan@gmail.com>
2017-11-12 22:12:42
parse data from logout request.
1 parent 5191516
Changed files (1)
app
models
app/models/user.rb
@@ -4,8 +4,8 @@ class User < ApplicationRecord
     self.uuid = SecureRandom.uuid unless self.uuid
   end
 
-  def name_id_for(request)
-    if Saml::Kit::Namespaces::PERSISTENT == request.name_id_format
+  def name_id_for(name_id_format)
+    if Saml::Kit::Namespaces::PERSISTENT == name_id_format
       uuid
     else
       email