mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-20 20:13:17 +00:00
Merge pull request #4313 from pixelfed/staging
Update RegisterController, store client ip during registration
This commit is contained in:
commit
c4941365e8
3 changed files with 3 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
|||
- Update Privacy Settings, add Directory setting ([634c15e4](https://github.com/pixelfed/pixelfed/commit/634c15e4))
|
||||
- Update site config ([6d59dc8e](https://github.com/pixelfed/pixelfed/commit/6d59dc8e))
|
||||
- Update db:raw queries to support laravel v10 ([849e5103](https://github.com/pixelfed/pixelfed/commit/849e5103))
|
||||
- Update RegisterController, store client ip during registration ([d4c967de](https://github.com/pixelfed/pixelfed/commit/d4c967de))
|
||||
- ([](https://github.com/pixelfed/pixelfed/commit/))
|
||||
|
||||
## [v0.11.5 (2023-03-25)](https://github.com/pixelfed/pixelfed/compare/v0.11.4...v0.11.5)
|
||||
|
|
|
@ -163,6 +163,7 @@ class RegisterController extends Controller
|
|||
'username' => $data['username'],
|
||||
'email' => $data['email'],
|
||||
'password' => Hash::make($data['password']),
|
||||
'app_register_ip' => request()->ip()
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ class User extends Authenticatable
|
|||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'name', 'username', 'email', 'password',
|
||||
'name', 'username', 'email', 'password', 'app_register_ip'
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue