1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-08-05 15:47:25 +02:00

Improve language

This commit is contained in:
Marco
2016-12-04 17:13:33 +01:00
parent 07732dcaa9
commit d53a484c2e

View File

@@ -58,7 +58,7 @@ Only in the very rare case that you need access to your cookies from JavaScript,
If your web server is behind a proxy server and `$_SERVER['REMOTE_ADDR']` only contains the proxy's IP address, you must pass the user's real IP address to the constructor in the fourth argument. The default is `null`.
### Sign up a new user (register)
### Registration (sign up a new user)
```php
try {
@@ -92,7 +92,7 @@ $url = 'https://www.example.com/verify_email?selector='.urlencode($selector).'&t
If you don't want to perform email verification, just omit the last parameter to `register(...)`. The new user will be active immediately, then.
### Sign in an existing user (login)
### Login (sign in an existing user)
```php
if ($_POST['remember'] == 1) {