Strona działa najlepiej z włączonym JavaScript.
Strona główna
Odkrywaj
Pomoc
Zaloguj się
bubblev
/
cobbzilla-wizard
Obserwuj
6
Polub
0
Forkuj
0
Kod
Zgłoszenia
0
Oczekujące zmiany
0
Wydania
1
Wiki
Aktywność
Przeglądaj źródła
return unauthorized instead of forbidden when session is required
tags/2.0.1
Jonathan Cobb
4 lat temu
rodzic
5510f2d656
commit
360ea80674
1 zmienionych plików
z
1 dodań
i
1 usunięć
Widok podzielony
Opcje porównania
Pokaż statystyki
Ściągnij plik aktualizacji
Ściągnij plik porównania
+1
-1
wizard-server/src/main/java/org/cobbzilla/wizard/resources/ResourceUtil.java
+ 1
- 1
wizard-server/src/main/java/org/cobbzilla/wizard/resources/ResourceUtil.java
Wyświetl plik
@@ -210,7 +210,7 @@ public class ResourceUtil {
log.debug("userPrincipal: "+e);
user = null;
}
if (required && user == null) throw
forbidden
Ex();
if (required && user == null) throw
unauthorized
Ex();
return user;
}
Napisz
Podgląd
Ładowanie…
Anuluj
Zapisz