#2 - authentication via google #16

Merged
Baakoma merged 10 commits from #2-auth-via-google into main 2022-01-13 14:19:11 +01:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 1f11c71754 - Show all commits

View File

@@ -12,7 +12,7 @@ class LogoutController extends Controller
{ {
public function __invoke(Request $request): RedirectResponse public function __invoke(Request $request): RedirectResponse
{ {
Auth::logout(); $request->user()?->logout();
krzysztofrewak commented 2022-01-13 13:40:44 +01:00 (Migrated from github.com)
Review
        $request->user()?->logout();
```suggestion $request->user()?->logout(); ```
Baakoma commented 2022-01-13 13:55:27 +01:00 (Migrated from github.com)
Review

It doesn't work.

It doesn't work.
$request->session()->invalidate(); $request->session()->invalidate();
$request->session()->regenerateToken(); $request->session()->regenerateToken();

View File

@@ -9,4 +9,4 @@
krzysztofrewak commented 2022-01-13 13:41:57 +01:00 (Migrated from github.com)
Review
</script>

```suggestion </script> ```
krzysztofrewak commented 2022-01-13 13:41:57 +01:00 (Migrated from github.com)
Review
</script>

```suggestion </script> ```
export default { export default {
name: 'GuestLayout', name: 'GuestLayout',
}; };
</script> </script>
krzysztofrewak commented 2022-01-13 13:41:57 +01:00 (Migrated from github.com)
Review
</script>

```suggestion </script> ```
krzysztofrewak commented 2022-01-13 13:41:57 +01:00 (Migrated from github.com)
Review
</script>

```suggestion </script> ```
krzysztofrewak commented 2022-01-13 13:41:57 +01:00 (Migrated from github.com)
Review
</script>

```suggestion </script> ```
krzysztofrewak commented 2022-01-13 13:41:57 +01:00 (Migrated from github.com)
Review
</script>

```suggestion </script> ```

View File

@@ -1,3 +1,3 @@
krzysztofrewak commented 2022-01-13 13:42:07 +01:00 (Migrated from github.com)
Review
}

```suggestion } ```
krzysztofrewak commented 2022-01-13 13:42:07 +01:00 (Migrated from github.com)
Review
}

```suggestion } ```
{ {
"User does not exist.": "Użytkownik nie istnieje." "User does not exist.": "Użytkownik nie istnieje."
} }
krzysztofrewak commented 2022-01-13 13:42:07 +01:00 (Migrated from github.com)
Review
}

```suggestion } ```
krzysztofrewak commented 2022-01-13 13:42:07 +01:00 (Migrated from github.com)
Review
}

```suggestion } ```
krzysztofrewak commented 2022-01-13 13:42:07 +01:00 (Migrated from github.com)
Review
}

```suggestion } ```
krzysztofrewak commented 2022-01-13 13:42:07 +01:00 (Migrated from github.com)
Review
}

```suggestion } ```