mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-14 20:21:14 +03:00
parent
97808abca1
commit
3c2353c0ec
1 changed files with 2 additions and 2 deletions
|
@ -142,11 +142,11 @@ final class Configuration
|
|||
self::throwConfigError('authentication', 'enable', 'Is not a valid Boolean');
|
||||
}
|
||||
|
||||
if (!self::getConfig('authentication', 'username')) {
|
||||
if (!is_string(self::getConfig('authentication', 'username'))) {
|
||||
self::throwConfigError('authentication', 'username', 'Is not a valid string');
|
||||
}
|
||||
|
||||
if (! self::getConfig('authentication', 'password')) {
|
||||
if (!is_string(self::getConfig('authentication', 'password'))) {
|
||||
self::throwConfigError('authentication', 'password', 'Is not a valid string');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue