pl-fe: fix auth on iceshrimp.net
Signed-off-by: Nicole Mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { getFeatures, PLEROMA, TOKI, type Instance } from 'pl-api';
|
||||
import { getFeatures, ICESHRIMP_NET, PLEROMA, TOKI, type Instance } from 'pl-api';
|
||||
|
||||
import type { RootState } from 'pl-fe/store';
|
||||
|
||||
@ -24,6 +24,8 @@ const getInstanceScopes = (instance: Instance, admin: boolean = true) => {
|
||||
|
||||
if (admin) {
|
||||
switch (v.software) {
|
||||
case ICESHRIMP_NET:
|
||||
break;
|
||||
case PLEROMA:
|
||||
scopes += ' admin';
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user