Skip to content
Snippets Groups Projects
  • Paul-Christian Volkmer's avatar
    Handle both principals: String and User · 2d8448ad
    Paul-Christian Volkmer authored
    In local environment the principal must be casted to User object but in
    production environment the username is represented as String in principal
    object.
    
    With this patch the application will try a cast to User object, if this
    fails, it will do a cast to String - which holds the OpenID identifier.
    2d8448ad
Forked from ARSnova / ARSnova Backend
Source project has a limited visibility.