diff --git a/app/src/main/java/com/shaarit/data/repository/AuthRepositoryImpl.kt b/app/src/main/java/com/shaarit/data/repository/AuthRepositoryImpl.kt index 64f19a1..65795a9 100644 --- a/app/src/main/java/com/shaarit/data/repository/AuthRepositoryImpl.kt +++ b/app/src/main/java/com/shaarit/data/repository/AuthRepositoryImpl.kt @@ -52,8 +52,11 @@ constructor(private val api: ShaarliApi, private val tokenManager: TokenManager) 401, 403 -> Exception( - "HTTP ${e.code()} - Secret API refuse. Copie le champ « Secret API » de " + - "Shaarli (Configuration -> Securite) : ce n'est PAS ton mot de passe " + + "HTTP ${e.code()} - Secret API refuse. L'application a deja reessaye " + + "avec l'horloge du serveur : un 401 persistant signifie que le " + + "secret saisi ne correspond plus a celui affiche ACTUELLEMENT dans " + + "Shaarli. Copie le champ « Secret API » de Shaarli " + + "(Configuration -> Securite) : ce n'est PAS ton mot de passe " + "de connexion. Si tu as utilise « Deconnexion de tous les appareils », " + "le secret a ete regenere et il faut ressaisir le nouveau." )