Can't create user from admin pages - "Password can't be blank" | GitHub Installation | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Can't create user from admin pages - "Password can't be blank"
No permission to create posts
April 6, 2015
9:29 am
Avatar
dalothi
New Member
Members
Forum Posts: 1
Member Since:
April 6, 2015
sp_UserOfflineSmall Offline

I just installed Thingspeak on Ubuntu. I created the admin account, and can log in as the admin, but I can't create more users on the admin pages. The New User form shows me an email address field and a login, but no matter what I put in the fields, the error message is "Password can't be blank." There is no password field on the form.

I can sign up on the front page, so I am not without ways of creating users. It just seems odd that I can't do it from the admin pages.

April 6, 2015
12:50 pm
Avatar
lee

Admin
Forum Posts: 457
Member Since:
March 14, 2011
sp_UserOfflineSmall Offline

Hi,

We don't have the ability to create users manually using the admin interface on thingspeak.com, so it is not present in the open source version. However, you can easily modify your code to allow this by modifying the line at https://github.com/other/thingspeak/blob/master/app/admin/user.rb#L32 and adding the password field. You'll also have to add the permitted parameters at https://github.com/other/thingspeak/blob/master/app/admin/user.rb#L8 .

lee

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
14 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

khanhNguyen_CT, susyburr, quijano__, meosuckhoe, briskpanda, Dejw0089

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457