mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-11 15:10:54 +00:00
Fix 维护界面文件缺失部分class & 超级管理登录后未正确转跳至管理界面
This commit is contained in:
@@ -89,7 +89,7 @@ class AuthController extends Controller
|
||||
|
||||
// 根据权限跳转
|
||||
if (Auth::check()) {
|
||||
if (Auth::getUser()->hasPermissionTo('admin.index')) {
|
||||
if (Auth::getUser()->hasPermissionTo('admin.index') || Auth::getUser()->hasRole('Super Admin')) {
|
||||
return Redirect::route('admin.index');
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
@extends('_layout')
|
||||
@section('title', '维护 | Maintenance')
|
||||
@section('body_class','page-login-v3 layout-full')
|
||||
@section('layout_content')
|
||||
<!--[if lt IE 8]> <p class="browserupgrade">您正在使用 <strong>过时/老旧</strong> 的浏览器。 为了您的使用体验,请
|
||||
<a href="http://browsehappy.com/" target="_blank">升级您的浏览器</a> <br/>You are using an <strong>outdated</strong>
|
||||
|
||||
Reference in New Issue
Block a user