projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
migrated passwords from blob to strings (still hashed), for easier migration between...
[quassel.git]
/
src
/
core
/
storage.h
diff --git
a/src/core/storage.h
b/src/core/storage.h
index
2c975ca
..
3e8cbb1
100644
(file)
--- 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);
//! 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);
};
};