3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-06 20:15:35 +00:00
Commit Graph

12 Commits

Author SHA1 Message Date
55ee90b25d Fixes #7252 form request changes (#7272)
* Fixes for #7252 - custom fields not validating / no validaton messages in API w/form requests

* Removed debug info

* More fixes for #7252

This is mostly working as intended, if not yet the way Laravel wants us to do it.

Right now, the API returns correctly, and the form UI will return highlighted errors, with the input filled in ~sometimes~. I’m not sure why it’s only sometimes yet, but this is potentially progress.

* Removed experimental method

* Check for digits_between:0,240 for warranty

* Removed debug code
2019-07-18 14:32:23 -07:00
35ebe33e4e Fixed #6703 - fixes password confirmation (#6711)
* Fixed #6703 - fixes password confirmation

* Removed debugging

* Fixed tests

* I guess we use 10 as the settings for password min in tests

* One more try to fix tests - confirmation won’t validate until password validates
2019-02-13 23:01:19 -08:00
c23955d0b5 Allow setting of "ldap_import" through the API (#5218)
* Allow setting of "ldap_import" through the API, this will allow cusom scripts to be made to import data from Active directory using the API, this would allow any field to be filled such as the manager (based on the ID), department etc.

* Password fix for LDAP through API
2018-04-20 14:02:52 -07:00
e0fe383815 Removed debug message in SaveUserRequest 2017-10-24 19:18:53 -07:00
8a9960f830 Fixed missing break that would override password requirement 2017-10-24 16:56:46 -07:00
48e6208214 Fixes #3907 - do not require username on user if LDAP import 2017-08-31 10:43:36 -07:00
a0cbca85bf Fixes for API calls for password complexity stuff 2017-08-22 21:15:35 -07:00
9bda62d295 ADDED: Password rules for complexity, min length, rejecting common passwords 2017-08-22 20:32:39 -07:00
cd28b012b3 Remove last name requirement in save user request 2016-08-30 06:47:38 -07:00
c07ad03e74 Removed unique from form request 2016-07-28 09:16:30 -07:00
75eb2bbe09 Janky-ass form request stuff 2016-06-06 21:02:06 -07:00
75dfb87671 Use form request for user add/edit to handle password and password confirmation 2016-06-06 14:15:50 -07:00