From 6663cb85299697b7c22eebca975f51911094c5f2 Mon Sep 17 00:00:00 2001 From: Magton <26084134+MagtonHub@users.noreply.github.com> Date: Fri, 10 May 2019 17:55:58 +0200 Subject: [PATCH] Spell mistake in Authorized util. (#4170) This is causing a redirect issue after login attempts. 'RenderAuthorized' should be 'RenderAuthorize' --- src/utils/Authorized.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/Authorized.js b/src/utils/Authorized.js index 8c420cba..0fdc88e6 100644 --- a/src/utils/Authorized.js +++ b/src/utils/Authorized.js @@ -1,11 +1,11 @@ -import RenderAuthorized from '@/components/Authorized'; +import RenderAuthorize from '@/components/Authorized'; import { getAuthority } from './authority'; -let Authorized = RenderAuthorized(getAuthority()); // eslint-disable-line +let Authorized = RenderAuthorize(getAuthority()); // eslint-disable-line // Reload the rights component const reloadAuthorized = () => { - Authorized = RenderAuthorized(getAuthority()); + Authorized = RenderAuthorize(getAuthority()); }; export { reloadAuthorized }; -- GitLab