Fix styling

This commit is contained in:
Thijmen authored and github-actions[bot] committed 2024-06-10 20:43:34 +00:00
1 parent 41fb6a1fc9
commit d86274cc37
429 files changed
+5307 -2831

No files matched your search

+3 -2
View File
@@ -16,12 +16,12 @@ class CreateNewUser implements CreatesNewUsers
/**
* Validate and create a newly registered user.
*
* @param array<string, string> $input
* @param array<string, string> $input
*/
public function create(array $input): User
{
$settings = InstanceSettings::get();
if (!$settings->is_registration_enabled) {
if (! $settings->is_registration_enabled) {
abort(403);
}
Validator::make($input, [
@@ -66,6 +66,7 @@ class CreateNewUser implements CreatesNewUsers
}
// Set session variable
session(['currentTeam' => $user->currentTeam = $team]);
return $user;
}
}