Notes in this project's code

Notes are marked in code by writing @NOTE. Everything on the line after it is captured.
[line number] Trimmed Text of the line

Notes for src/class/Lib.php

Docs
Source Code

  • [30] default mail service is PHP_MAIL
  • [239] for testing set $_COOKIE['taeluf_login'] = $code prior to calling this function
  • [318] For DEBUG_TO_TEXTFILE mail, email-body-out.txt is always written to the root of the user library.

Notes for src/class/User.php

Docs
Source Code

  • [152] cookie code is cryptographically secure random, using random_bytes()