Doc - improve

This commit is contained in:
sparkyx 2025-08-08 13:38:55 +02:00
parent 645bc207e1
commit 64502d568a
2 changed files with 11 additions and 7 deletions

View file

@ -50,7 +50,7 @@ class OTP {
}
/**
* @brief build a secret key and returns it
* @return string random string of 32
* @return string random string of 32 char
*/
function build_secret() {
@ -61,7 +61,7 @@ class OTP {
/**
* @brief compute a code for auth. for the user passed in parameter
* @param $user (\Noalyss_User)
* @param $secret (string) secret stored in AC_USER
*/
function compute_code($secret)
{