Announcement

#1 2019-05-09 15:47:46

AlexandreVH
Member
Madrid, Spain
2019-05-09
3

Invalid access for users without password on IOS app

Good afternoon,

I am a new user with a new album. Looks very good honestly. Thank you.

Unfortunately we are facing an issue:

The users have a login ONLY, no password. But the access with the IOS app is not possible. Access to the photo album is OK with username AND password, but not with a username only.
The photo album access is ok on a web browser (PC or mobile) with username only.
Can you please check this point?


Piwigo version: latest
PHP version: tried with php 7.2 and php 5.6 is actually on
MySQL version: MYSQL v.5.6
Piwigo URL: http://vanhov.es


    Piwigo 2.9.5
    Système d'exploitation: Linux
    PHP: 5.6.40 (Montrer les informations) [2019-05-09 15:45:20]
    MySQL: 5.6.42-log [2019-05-09 15:45:20]
    Bibliothèque graphique: ImageMagick 6.8.9-9

Last edited by AlexandreVH (2019-05-09 16:07:37)

Offline

 

#2 2019-05-12 19:39:28

cryopad
Member
Grenoble, France
2015-11-01
72

Re: Invalid access for users without password on IOS app

Hi

I have checked with the debugger and indeed the Piwigo web API pwg.session.login refuses an empty password.
The server replies to the mobile app with the response:

{
    err = 1002;
    message = "Missing parameters: password";
    stat = fail;
}

The documentation says that the password is required. So I cannot fix that unless Pierrick modifies the API method. I have opened a ticket on [Github] Piwigo issue #1016.


Do you use Piwigo for iOS ?
Comments, suggestions ? Tell us on GitHub…
Not yet available in your language ? Help us translate it…

Offline

 

#3 2019-08-22 23:04:19

AlexandreVH
Member
Madrid, Spain
2019-05-09
3

Re: Invalid access for users without password on IOS app

Good evening,
Well, still the same issue.
It seems complicated to be solved...
Any possibility to have a solution in a short term period before I switch to another platform?
Thank you in advance.
Regards

Offline

 

#4 2019-08-23 00:13:44

cryopad
Member
Grenoble, France
2015-11-01
72

Re: Invalid access for users without password on IOS app

Good evening,

I have contacted directly @plg on [Github] Piwigo issue #1016 this evening to see whether we could find a quick fix. The web UI indeed allows to login with a username and no password but this is not possible for the moment with the library provided to third party apps like mobile apps.

Is it really impossible to create a password, even reduced to a single character?

Best regards


Do you use Piwigo for iOS ?
Comments, suggestions ? Tell us on GitHub…
Not yet available in your language ? Help us translate it…

Offline

 

#5 2019-08-26 15:57:02

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13226

Re: Invalid access for users without password on IOS app

Bug fixed in Piwigo 2.10 :-)

Offline

 

#6 2019-08-27 23:31:55

AlexandreVH
Member
Madrid, Spain
2019-05-09
3

Re: Invalid access for users without password on IOS app

plg wrote:

Bug fixed in Piwigo 2.10 :-)

Oh! that's a pretty good news. I didn't want to inform 100 people about a new login AND password (my first album are pictures of a wedding). In fact the interest of this function is that we can consider the login without password as a password to access to the album, easier to remember for people, and album visibility is hidden from people who don't have this single password (login)...
Once this new version will be released not as an RC, I will test it and give you feedback.
Thank you for your support and contributing in developing such a nice tool!

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact