Skip to content

Commit

Permalink
Use hash instead of pipe in cache key to fix invalid character in cac…
Browse files Browse the repository at this point in the history
…he directory name on windows (closes statamic#952)
  • Loading branch information
rrelmy committed Aug 25, 2020
1 parent 75764b2 commit 79a1a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Auth/ThrottlesLogins.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ protected function fireLockoutEvent(Request $request)
*/
protected function throttleKey(Request $request)
{
return Str::lower($request->input($this->username())).'|'.$request->ip();
return Str::lower($request->input($this->username())).'#'.$request->ip();
}

/**
Expand Down

0 comments on commit 79a1a70

Please sign in to comment.