Skip to content

Commit

Permalink
New section on how to remove a user password via console (#220)
Browse files Browse the repository at this point in the history
* Add new section

Added "Remove password for user"-section.
Co-authored-by: Marcel Herrguth <github@thehomeofanime.de>
  • Loading branch information
YetAnotherGerrit committed Apr 1, 2022
1 parent 96816f1 commit 1a5dfb7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions admin/console/working-on-users.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,16 @@ if needed.
.. code-block:: ruby
>> User.find_by(email: 'you@example.com').update!(password: 'your_new_password')
Remove password for user
------------------------

If you added a second authentication method (e.g. LDAP) after launch, there
still may be a password in Zammad's own user management. In cases like that
users will be able to login with their (local) Zammad password in addition to
the credentials stored on the external authentication provider. Simply remove
the password stored by Zammad.

.. code-block:: ruby
>> User.find_by(email: 'you@example.com').update!(password: nil)

0 comments on commit 1a5dfb7

Please sign in to comment.