Ryan Foster 10810d9730 UI: Prevent Restream OAuth disconnection
Fix the service check for services where its name in the UI does not
match its Auth::Def service string.

In Restream's case, the service name in the UI and rtmp-services is
"Restream.io" while the service name in its Auth::Def is "Restream".
This mismatch causes the `service_check` bool to be false, whereas the
previous condition (`!!main->auth && service.find(main->auth->service())
!= std::string::npos`) would have evaluated to true.

This was broken in commit e6f1daab8c64aa4cd57c7615647ad80362d72d72.

Fixes GitHub Issue 5290.
2021-09-22 22:56:41 +02:00
..
2021-06-11 07:18:15 -07:00
2021-08-15 06:55:15 -07:00
2019-06-23 23:49:10 -07:00
2021-03-08 21:41:13 -08:00
2021-03-08 21:41:13 -08:00
2020-08-17 07:18:18 -07:00
2020-08-17 07:18:18 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-02-07 14:47:15 -08:00
2020-08-17 07:18:18 -07:00
2020-08-17 07:18:18 -07:00
2020-01-01 15:58:48 +11:00
2021-01-30 00:25:25 -08:00
2021-03-08 21:41:13 -08:00
2021-03-08 23:42:21 +13:00
2020-06-21 18:23:05 -07:00
2021-08-07 01:07:04 -07:00
2020-08-17 07:18:18 -07:00
2020-08-17 07:18:18 -07:00
2021-03-08 21:41:13 -08:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-07-21 20:53:30 -07:00