mirror of
https://github.com/nextcloud/twofactor_gateway.git
synced 2026-04-25 09:05:55 +03:00
[GH-ISSUE #6] Could not load two-factor auth provider #5
Labels
No labels
0. to triage
1. to develop
3. to review
blocked
bug
discussion
duplicate
enhancement
enhancement
gateway:signal
gateway:signal
gateway:signal
gateway:sms
gateway:telegram
hacktoberfest
help wanted
invalid
needs info
php
pull-request
question
technical debt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/twofactor_gateway-nextcloud#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @eniac111 on GitHub (Sep 15, 2016).
Original GitHub issue: https://github.com/nextcloud/twofactor_gateway/issues/6
Hello,
I'm getting this error:
{"reqId":"FopShCwj6uK5IK8FPhfs","remoteAddr":"10.244.250.1","app":"index","message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"Could not load two-factor auth provider OCA\\\\TwoFactor_Sms\\\\Provider\\\\SmsProvider\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Authentication\\\/TwoFactorAuth\\\/Manager.php(67): OC\\\\Authentication\\\\TwoFactorAuth\\\\Manager->getProviders(Object(OC\\\\User\\\\User))\\n#1 \\\/var\\\/www\\\/owncloud\\\/core\\\/Middleware\\\/TwoFactorMiddleware.php(94): OC\\\\Authentication\\\\TwoFactorAuth\\\\Manager->isTwoFactorAuthenticated(Object(OC\\\\User\\\\User))\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Middleware\\\/MiddlewareDispatcher.php(94): OC\\\\Core\\\\Middleware\\\\TwoFactorMiddleware->beforeController(Object(OCA\\\\Files\\\\Controller\\\\ViewController), 'index')\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(88): OC\\\\AppFramework\\\\Middleware\\\\MiddlewareDispatcher->beforeController(Object(OCA\\\\Files\\\\Controller\\\\ViewController), 'index')\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(111): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\Files\\\\Controller\\\\ViewController), 'index')\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main('ViewController', 'index', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#6 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Route\\\/Router.php(293): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#8 \\\/var\\\/www\\\/owncloud\\\/lib\\\/base.php(967): OC\\\\Route\\\\Router->match('\\\/apps\\\/files\\\/')\\n#9 \\\/var\\\/www\\\/owncloud\\\/index.php(48): OC::handleRequest()\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Authentication\\\/TwoFactorAuth\\\/Manager.php\",\"Line\":121}","level":3,"time":"2016-09-15T14:07:12+00:00","method":"GET","url":"\/owncloud\/index.php\/apps\/files\/","user":"blago"}..when I put example credentials for websms.de.
Tested on NextCloud 10 with Apache and Sqlite.
Btw, I have almost working commit with user settings for the phone number.
Regards,
Blagovest Petrov
@eniac111 commented on GitHub (Sep 15, 2016):
Excuse me, I understood where is the problem. The API is is changed
@ChristophWurst commented on GitHub (Oct 20, 2016):
Hey @eniac111,
what's the status on that? A pull request is very welcome, you can also push your work-in-progress :-)
@eniac111 commented on GitHub (Oct 21, 2016):
@ChristophWurst Hi, I wanted to review my code first but ok. I'll push it anyway :)