Child pages
  • User Authorization

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagesql
UPDATE users SET disabled=0, disabled_at=NULL WHERE disabled !=0 AND name = '<username>';
Note

Users may only be reactivated, if no other active user with that name (case-insensitive) exists. Otherwise a duplicate key value violation will be thrown.