File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1921,7 +1921,11 @@ Call these functions only at load time!
1921
1921
* Should be called by the authentication handler if privileges changes.
1922
1922
* To report everybody, set `name=nil`.
1923
1923
* `minetest.get_password_hash(name, raw_password)`
1924
- * Convert a name-password pair to a password hash that Minetest can use
1924
+ * Convert a name-password pair to a password hash that Minetest can use.
1925
+ * The returned value alone is not a good basis for password checks based
1926
+ * on comparing the password hash in the database with the password hash
1927
+ * from the function, with an externally provided password, as the hash
1928
+ * in the db might use the new SRP verifier format.
1925
1929
* `minetest.string_to_privs(str)`: returns `{priv1=true,...}`
1926
1930
* `minetest.privs_to_string(privs)`: returns `"priv1,priv2,..."`
1927
1931
* Convert between two privilege representations
You can’t perform that action at this time.
0 commit comments