Skip to content

update the credentials field in the Authenticate object #279

Description

@Pol-dea

I have been using this module for a year and find it to be an excellent job.

For my application I need to edit (as admin) the roles of other users (members, guests..) in a specific page and I was able to load the config file and update it.
what I can't do is update the credentials and roles inside the Authenticate object, so that I can keep this information updated after logout for example.

So far I have initialized the object by passing the path of the config file as the credentials parameter, because it is very convenient to have the module handle all the changes in the file itself.
Since I have this requirement, the only way I can solve this problem is to pass the credentials list to the object and manually modify it every time I interact with a stauth widget? Or is there a better way?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions