Skip to content

Commit 5f396e0

Browse files
committed
Set intended URL before logging in
1 parent d14da4b commit 5f396e0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All Notable changes to `StageFront` will be documented in this file.
44

5+
## 1.1.2 (2017-10-10)
6+
7+
- Set intended URL before logging in
8+
59
## 1.1.1 (2017-10-10)
610

711
- Don't autoload middleware due to session issues

src/Controllers/StageFrontController.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ public function create()
2727
];
2828
}
2929

30+
session()->flash('url.intended', session()->previousUrl());
31+
3032
return view('stagefront::login', compact('liveSite'));
3133
}
3234

0 commit comments

Comments
 (0)