mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-01 02:56:08 +01:00
Remove resolved TODO.
This commit is contained in:
@@ -68,7 +68,6 @@ abstract class ControllerBase extends ScalatraFilter
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO redirect to the sign-in page if not logged in?
|
|
||||||
protected def Unauthorized()(implicit context: app.Context) = {
|
protected def Unauthorized()(implicit context: app.Context) = {
|
||||||
if(request.getAttribute("AJAX") == null){
|
if(request.getAttribute("AJAX") == null){
|
||||||
if(context.loginAccount.isDefined){
|
if(context.loginAccount.isDefined){
|
||||||
|
|||||||
Reference in New Issue
Block a user