X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fstorage.h;h=3e8cbb1cc9a24f217e605b0ee12d132d21f51505;hp=2c975ca884061b3f4052c214c18edd8ff6d543cd;hb=4ed404c7a72dd21bb06b003274ae544ab5ca1ad7;hpb=68efe6df6d72f1ac498d0594866455418552665d diff --git a/src/core/storage.h b/src/core/storage.h index 2c975ca8..3e8cbb1c 100644 --- a/src/core/storage.h +++ b/src/core/storage.h @@ -252,8 +252,11 @@ class Storage : public QObject { //! Sent when a user has been removed void userRemoved(UserId); - public: - + protected: + //! when implementing a storage handler, use this method to crypt user passwords. + /** This guarantees compatibility with other storage handlers and allows easy migration + */ + QString cryptedPassword(const QString &password); };