Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeyiq committed Apr 22, 2024
1 parent 1ec7110 commit d8b9606
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions docs/sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
=============

These are authentication modules for authenticating a user against a
SQL database.
SQL database.

The SQL module performs password verification in the database itself
using database functions such as sha512 and storing a salt in the
Expand All @@ -13,8 +13,6 @@ support in the database or to allow the same code to work against many
databases without modification. More information on PasswordVerify is
provided at the end of this document.



Options
-------

Expand Down Expand Up @@ -194,11 +192,10 @@ used instead as an additional security measure.

One way hashing algorithms like MD5 or SHA1 are considered insecure and should therefore be avoided.


The PasswordVerify module
-------------------------

Users and passwords have to be set in the database by other means than the PasswordVerify module.
Users and passwords have to be set in the database by other means than the PasswordVerify module.

For example:

Expand All @@ -212,7 +209,7 @@ For example:
);
```

A user can be added with a known password "FIXMEPASSWORD" as shown below.
A user can be added with a known password "FIXMEPASSWORD" as shown below.

```php
$dsn = "pgsql:host=...";
Expand Down

0 comments on commit d8b9606

Please sign in to comment.